[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
max() Macro to Find Maximum of Two Integers
#include <stdlib.h>
The max() macro expands to inline code to find the maximum of two
integers.
-------------------------------- Example ---------------------------------
This example finds the maximum of i and j.
#include <stdlib.h>
int i = 2, j = 5, k;
main()
{
k = max(i, j);
}
See Also:
min()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson